package com.hfzy.ihk.web.freeswitchCall.serviceImpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.hfzy.ihk.web.freeswitchCall.biz.ClickCallBiz;
import com.hfzy.ihk.facade.freeswitchCall.service.FreeswitchCallService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.HashMap;
import java.util.Map;

/**
 * @Auther: oyc
 * @Date: 2018/12/6 10:31
 * @Description:
 */
@Service(version = "1.0.0")
public class FreeswitchCallServiceImpl implements FreeswitchCallService {

    @Autowired
    ClickCallBiz clickCallBiz;

    @Override
    public Map<String, String> handleClickCallWebSocket(String mainCallPhone, String targetCallPhone, String machineFrom, String createUserId,String createUserNo,String dataId, String whereFrom, String pageFrom, String mainCallType, String commitTo, String city, String customerName, String showNum, String project, String propertyNo, String objectId, String sessionId, String callTaskId, String packageId,String packageName,boolean needAsr,String company) {
        return clickCallBiz.handleClickCallWebSocket(mainCallPhone,targetCallPhone,machineFrom,createUserId,createUserNo,dataId,whereFrom,
                pageFrom,mainCallType,commitTo,city,customerName,showNum,project,propertyNo,objectId,sessionId, callTaskId,packageId,packageName,needAsr,company);
    }
}
